
import Home from '../components/demo14/Home.js'
import User from '../components/demo14/User.js'
import Info from '../components/demo14/User/Info.js'
import Main from '../components/demo14/User/Main.js'

let routes = [
   
    { 
      path: "/", 
      component: Home,
      exact: true,
    },
    {
      path: "/user", 
      component: User,
      routes: [
        {
            path: "/user/", 
            component: Info,
            exact: true,
          },
          {
            path: "/user/main", 
            component: Main,
          }
      ]
    },
    /* {
        path: "/user/", 
        component: Info,
        exact: true,
      },
      {
        path: "/user/main", 
        component: Main,
      } */
  ]
  
export default routes ;  